package com.example.luckin.slice.entity;

public class Item {


    private String name;
    private String nick;
    private String comment;
    private String price;
    private String discount;
    private Integer img;
    private String category;

    public Item(String name) {
        this.name = name;
    }

    public Item(String name, String nick, String comment, String price, String discount, Integer img) {
        this.name = name;
        this.nick = nick;
        this.comment = comment;
        this.price = price;
        this.discount = discount;
        this.img = img;
    }

    public Item(String name, String nick, String comment, String price, String discount, Integer img, String category) {
        this.name = name;
        this.nick = nick;
        this.comment = comment;
        this.price = price;
        this.discount = discount;
        this.img = img;
        this.category = category;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public Integer getImg() {
        return img;
    }

    public void setImg(Integer img) {
        this.img = img;
    }

    public String getDiscount() {
        return discount;
    }

    public void setDiscount(String discount) {
        this.discount = discount;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }



    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
